class FaceImageData {
  String? id;
  String? person;
  String? name;
  String? extension;
  int? length;
  String? lastUpdateTime;
  String? createTime;
  String? updateTime;

  FaceImageData({
    this.id,
    this.person,
    this.name,
    this.extension,
    this.length,
    this.lastUpdateTime,
    this.createTime,
    this.updateTime,
  });

  factory FaceImageData.fromJson(Map<String, dynamic> json) {
    return FaceImageData(
      id: json['id'],
      person: json['person'],
      name: json['name'],
      extension: json['extension'],
      length: json['length'],
      lastUpdateTime: json['lastUpdateTime'],
      createTime: json['createTime'],
      updateTime: json['updateTime'],
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'id': id,
      'person': person,
      'name': name,
      'extension': extension,
      'length': length,
      'lastUpdateTime': lastUpdateTime,
      'createTime': createTime,
      'updateTime': updateTime,
    };
  }
}


class FaceDetectionResult {
  bool? result;

  FaceDetectionResult({
    this.result,
  });

  factory FaceDetectionResult.fromJson(Map<String, dynamic> json) {
    return FaceDetectionResult(
      result: json['result'],
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'result': result,
    };
  }
}


class FaceConfig {
  bool? enable;
  String? akID;
  String? akSecret;
  String? id;

  FaceConfig({
    this.enable,
    this.akID,
    this.akSecret,
    this.id
  });

  factory FaceConfig.fromJson(Map<String, dynamic> json) {
     return FaceConfig(
      enable: json['enable'],
      akID: json['akID'],
      akSecret: json['akSecret'],
      id: json['id'],
    );
  }
 Map<String, dynamic> toJson() {
    return {
      'enable': enable,
      'akID': akID,
      'akSecret': akSecret,
      'id': id,
    };
  }

}